// File model factory definition
// Copyright 2005 (C) Ralph Thomas

#ifndef MODEL_FILE_FACTORY_H
#define MODEL_FILE_FACTORY_H

#include <model/internal/factory.h>

namespace model {
	//
	/// The fileFactory class is a model factory which can turn a file URL
	/// into a file model and normalize a file URL.
	//
	class fileFactory : public factory {
	  public:
		//
		// from model/internal/factory.h
		//
		virtual model* fromString( std::string serialized ) const;
		virtual url* normalize( const url* theUrl ) const;
	};
};

#endif

